package com.javafactroy.kunlong.base.annotation;

import com.javafactroy.kunlong.base.metadata.valueobj.EnumCheckType;

import java.lang.annotation.*;

@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface CheckParams {

    String value() default "";

    EnumCheckType checkType () default EnumCheckType.CheckBoth;

    String checkOption () default "must" ;// option
}
